<?php
$T->loadTpl("./html/".$template."/".$qname.".html");
$T->SetTpl('cssjs','html/cssjs.inc'); 
$T->SetTpl('jsmodel','html/jsmodel.inc');     
  
$uid=$_SESSION['uid'];
$T->Set("uid",$uid);

$T->Set("template",$template);         
$T->clearNaN();       
$T->clearNoN();
$T->display(); 